Application of monadic substitution to recursive type containment

نویسنده

  • Vladimir Komendantsky
چکیده

In this paper, we present a computer-checked, constructive soundness and completeness result for prototypic recursive type containment with respect to containment of nonwellfounded (finite or infinite) trees. The central role is played by formalisation of substitution of recursive types as a monad, with a traverse function implementing a strategy for potentially infinite recursive unfolding. In the rigorous setting of constructive type theory, the very definition of subtyping should be scrutinised to allow a prover to accept it. As a solution, we adapt the method of weak bisimilarity by mixed induction-coinduction recently introduced to Coq by Nakata and Uustalu. However, our setting is different in that we work with a notion of weak similarity that corresponds to subtyping. We accomplish the task of representing infinitary subtyping in the Calculus of (Co-)Inductive Constructions. Our technique does not require extensions of the Calculus and therefore can be ported to other dependently typed languages.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

The evaluation of first-order substitution is monadic second-order compatible

We denote rst-order substitutions of nite and in nite terms by function symbols indexed by the sequences of rst-order variables to which substitutions are made. We consider the evaluation mapping from in nite terms to in nite terms that evaluates these substitution operations. This mapping may perform in nitely many nested substitutions, so that a term which has the structure of an in nite stri...

متن کامل

A note on monadic datalog on unranked trees

In the article Recursive queries on trees and data trees (ICDT’13), Abiteboul et al. asked whether the containment problem for monadic datalog over unordered unranked labeled trees using the child relation and the descendant relation is decidable. This note gives a positive answer to this question, as well as an overview of the relative expressive power of monadic datalog on various representat...

متن کامل

Decidable Containment of Recursive Queries

One of the most important reasoning tasks on queries is checking containment, i.e., verifying whether one query yields necessarily a subset of the result of another one. Query containment, is crucial in several contexts, such as query optimization, query reformulation, knowledge-base verification, information integration, integrity checking, and cooperative answering. Containment is undecidable...

متن کامل

Testing Query Containment in the Presence of Binding Restrictions

In information-integration systems, sources have diverse and limited query capabilities. In a recent paper [LC00], we showed that sources not mentioned in a query can contribute to the query result by providing useful bindings. We studied connection queries, where each connection query is a natural join of distinct source views with the necessary selection and projection. Some optimization prob...

متن کامل

Consumption-Based Asset Pricing with Recursive Utility

In this paper it has been attempted to investigate the capability of the consumption-based capital asset pricing model (CCAPM), using the general method of moment (GMM), with regard to the Epstien-zin recursive preferences model for Iran's capital market. Generally speaking, recursive utility permits disentangling of the two psychologically separate concepts of risk aversion and elasticity of i...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2011